package com.zhcd.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author feifei
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Detail对象", description="")
public class Detail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "明细表id")
    @TableId(value = "DetailId", type = IdType.ASSIGN_ID)
    private String detailid;

    @ApiModelProperty(value = "金额")
    @TableField("Money")
    private BigDecimal money;

    @ApiModelProperty(value = "缴费人id")
    @TableField("PeopleId")
    private String peopleid;

    @ApiModelProperty(value = "缴费人")
    @TableField("Name")
    private String name;

    @ApiModelProperty(value = "科室id")
    @TableField("DepartmentId")
    private String departmentid;

    @ApiModelProperty(value = "科室名")
    @TableField("DepartmentName")
    private String departmentname;

    @ApiModelProperty(value = "医生id")
    @TableField("DoctorId")
    private String doctorid;

    @ApiModelProperty(value = "医生名字")
    @TableField("DoctorName")
    private String doctorname;

    @ApiModelProperty(value = "缴费时间")
    @TableField("CreateTime")
    private Date createtime;

    @ApiModelProperty(value = "付款方式")
    @TableField("PayWay")
    private String payway;

    @ApiModelProperty(value = "收款状态(0已支付,1未支付)")
    @TableField("PayStatus")
    private Integer paystatus;

    @ApiModelProperty(value = "医院id")
    @TableField("HospitalId")
    private String hospitalid;

    @ApiModelProperty(value = "医院名称")
    @TableField("HospitalName")
    private String hospitalname;


}
